package com.linqi.freebie.config


import java.time.LocalDateTime
import kotlinx.serialization.Serializable

/**
 * 仓库信息
 */
@Serializable
data class DepotInfo(
    val depotId: String,
    val decryptionKey: String,
    val manifestIds: MutableList<String> = mutableListOf()
)

/**
 * GitHub 仓库信息
 */

@Serializable
data class RepoInfo(
    val name: String,
    @Serializable(with = LocalDateTimeSerializer::class)
    val lastUpdate: LocalDateTime,
    val sha: String
)

/**
 * 应用配置
 */


val githubToken: String = "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"


